n=int(input())
while n<=0:
    n = int(input())
S=0
for i in range(1,n+1):
    S+=i
print(S)
